<?php /* Smarty version 2.6.31, created on 2018-03-27 11:14:51
         compiled from E:/xampp/htdocs/rbac/Admin/Tpl/Index/index.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => '../Common/head_index.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<body>
    <nav class="navbar navbar-default" style="background-color: #337ab7;margin-bottom: 0px;border: 0px;border-radius: 0px;">
        <div class="container-fluid">
            <div class="navbar-header">
                <a class="navbar-brand" href="#" style="color: white">飞鱼2018</a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1" style="margin-left: 280px;">
                <ul class="nav navbar-nav navbar-right">
                    <li><a href="<?php echo @__ROOT__; ?>
" style="color: white">前台首页</a></li>
                    <!--<li>-->
                        <!--<a href="#" style="color: white">-->
                            <!--<span class="glyphicon glyphicon-user"></span>-->
                        <!--</a>-->
                    <!--</li>-->
                    <li><a href="#" style="color: white">[<?php echo $_SESSION['username']; ?>
]</a></li>
                    <li><a href="<?php echo @__APP__; ?>
?c=Login&m=out" style="color: white">[退出]</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
    <div class="col-sm-3 col-md-2 col-xg-2" style="height: 100vh;background-color: #1a2226;margin-top: -52px;z-index: -999;padding: 0px;">
       <div class="nav-top">
           <ul id="left-navbar" class="left-navbar-box">
               <?php $_from = ($this->_tpl_vars['parentMenu']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['p']):
?>
               <li class="left-navbar-box-menu">
                   <div href="#">
                       <span class="glyphicon glyphicon-lock navbar-icon-left"></span><?php echo $this->_tpl_vars['p']['title']; ?>

                       <span class="glyphicon glyphicon-triangle-right navbar-icon-right"></span>
                   </div>
                   <ul class="left-navbar">
                       <?php $_from = ($this->_tpl_vars['childMenu']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['c']):
?>
                       <?php if ($this->_tpl_vars['p']['id'] == $this->_tpl_vars['c']['parent_id']): ?>
                       <li data-href="<?php echo @__APP__; ?>
?c=<?php echo $this->_tpl_vars['c']['control']; ?>
&m=<?php echo $this->_tpl_vars['c']['method']; ?>
" class="left-navbar-li"><?php echo $this->_tpl_vars['c']['title']; ?>
</li>
                       <?php endif; ?>
                       <?php endforeach; endif; unset($_from); ?>
                   </ul>
               </li>
               <?php endforeach; endif; unset($_from); ?>
               <!--<?php if ($_SESSION['is_admin']): ?>-->
                   <!--<li class="left-navbar-box-menu">-->
                       <!--<div href="#">-->
                           <!--<span class="glyphicon glyphicon-lock navbar-icon-left"></span>权限-->
                           <!--<span class="glyphicon glyphicon-triangle-right navbar-icon-right"></span>-->
                       <!--</div>-->

                       <!--<ul class="left-navbar">-->
                           <!--<li data-href="<?php echo @__APP__; ?>
?c=Authority&m=userList" class="left-navbar-li">用户管理</li>-->
                           <!--<li data-href="<?php echo @__APP__; ?>
?c=Authority&m=roleList" class="left-navbar-li">角色管理</li>-->
                           <!--<li data-href="<?php echo @__APP__; ?>
?c=Authority&m=accessList" class="left-navbar-li">权限管理</li>-->
                       <!--</ul>-->
                   <!--</li>-->
               <!--<?php endif; ?>-->
               <!--<li class="left-navbar-box-menu">-->
                   <!--<div href="#">-->
                       <!--<span class="glyphicon glyphicon-menu-hamburger navbar-icon-left"></span>菜单-->
                       <!--<span class="glyphicon glyphicon-triangle-right navbar-icon-right"></span>-->
                   <!--</div>-->
                   <!--<ul class="left-navbar">-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Menu&m=add" class="left-navbar-li">添加菜单</li>-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Menu" class="left-navbar-li">菜单管理</li>-->
                   <!--</ul>-->
               <!--</li>-->
               <!--<li class="left-navbar-box-menu">-->
                   <!--<div href="#">-->
                       <!--<span class="glyphicon glyphicon-list navbar-icon-left"></span>栏目-->
                       <!--<span class="glyphicon glyphicon-triangle-right navbar-icon-right"></span>-->
                   <!--</div>-->
                   <!--<ul class="left-navbar">-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Category&m=add" class="left-navbar-li">添加栏目</li>-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Category" class="left-navbar-li">栏目管理</li>-->
                   <!--</ul>-->
               <!--</li>-->
               <!--<li class="left-navbar-box-menu">-->
                   <!--<div href="#">-->
                       <!--<span class="glyphicon glyphicon-list-alt navbar-icon-left"></span>文章-->
                       <!--<span class="glyphicon glyphicon-triangle-right navbar-icon-right"></span>-->
                   <!--</div>-->

                   <!--<ul class="left-navbar">-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Article&m=add" class="left-navbar-li">添加文章</li>-->
                       <!--<li data-href="<?php echo @__APP__; ?>
?c=Article&m=index" class="left-navbar-li">文章管理</li>-->
                   <!--</ul>-->
               <!--</li>-->

           </ul>
       </div>
    </div>
    <div class="col-sm-9 col-md-10 col-xg-10" style="height: 100vh;margin-top: -52px;z-index: -999;">
        <iframe src="<?php echo @__TPL__; ?>
/<?php echo @CONTROLLER; ?>
/welcome.html" class="right-frame" id="right-frame"></iframe>
    </div>

</body>
<script src="<?php echo @__JS__; ?>
/admin-index.js"></script>
</html>